using System;
using System.Net;

class RequestArrivedEventArgs : EventArgs
{
    public RequestArrivedEventArgs(HttpListenerRequest hlr) {
        Request = hlr;
    }
    public HttpListenerRequest Request { get; private set; }
}

class ExceptionEventArgs : EventArgs
{
    public ExceptionEventArgs(Exception ex) {
        Exception = ex;
    }
    public Exception Exception { get; private set; }
}
